package com.xbongbong.pro.returnedpurchase.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author Jian.Wang
 * @version v1.0
 * @date 2019/3/1 13:44
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class ReturnedPurchaseDTO extends BaseDTO {
    /**
     * 应用id
     */
    @NotNull(message = "{dto.msg.returnedPurchase.appId.NotNull}")
    private Long appId;

    /**
     * 菜单id
     */
    private Long menuId;

    /**
     * 表单id
     */
    private Long formId;

    /**
     * saas标记
     */
    @NotNull(message = "{dto.msg.returnedPurchase.saasMark.NotNull}")
    private Integer saasMark;

    /**
     * saas业务类型
     */
    private Integer businessType;

    /**
     * 采购合同ID
     */
    private Long purchaseId;
}
